package com.hunan.chinamobile.dto;

import com.hunan.chinamobile.model.BaseStation;

import java.util.List;

public class BaseStationDTO extends BaseStation{

    private Boolean show = false;
    private String cityName;
    private Boolean ok;
    private List<ExceptionDTO> exceptionDTOList;

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public List<ExceptionDTO> getExceptionDTOList() {
        return exceptionDTOList;
    }

    public void setExceptionDTOList(List<ExceptionDTO> exceptionDTOList) {
        this.exceptionDTOList = exceptionDTOList;
    }

    public Boolean getOk() {
        if(exceptionDTOList == null || exceptionDTOList.size() <= 0)
            ok = true;
        else
            ok = false;
        return ok;
    }

    public void setOk(Boolean ok) {
        this.ok = ok;
    }

    public Boolean getShow() {
        return show;
    }

    public void setShow(Boolean show) {
        this.show = show;
    }
}
